package concurency.counter;

public class SyncCounter {
	private long syncCounter;

	public synchronized void reset() {
		syncCounter = 0;
	}

	public synchronized void increment() {
		syncCounter++;
	}

	public synchronized long getCounter() {
		return syncCounter;
	}

}
